import request from '@/utils/request'
// --------  内容审核 --------

let BASE_ADDRESS = '/work/verifyDoc'


//分页查询
export const getDocListAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}
//docId查询
export const getDocInfoDocIdAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/infoDocId`,
        method: 'get',
        params: data
    })
}
//id查询
export const getDocGetInfoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}
//修改
export const getDocEditAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        params: data
    })
}